package com.ztgf.sys.models.dto;

import com.baomidou.mybatisplus.annotations.TableName;
import com.ztgf.common.dto.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 数据字典表DTO
 *
 * @author mxli
 * @Date 2020-05-27 10:03:34
 */
@Data
@TableName("sys_config")
@ApiModel(value="数据字典表对象", description="数据字典表对象")
public class SysConfigDTO extends BaseDTO implements Serializable {

    @ApiModelProperty(value = "乐观锁")
    private Integer revision;
    @ApiModelProperty(value = "创建人")
    private Long createUserId;
    @ApiModelProperty(value = "更新人")
    private Long updateUserId;
    @ApiModelProperty(value = "code编码")
    private String code;
    @ApiModelProperty(value = "value值")
    private String value;
    @ApiModelProperty(value = "类型 0字段、1值 ")
    private Integer type;
    @ApiModelProperty(value = "状态 0未启用，1启用")
    private Integer status;
    @ApiModelProperty(value = "备注")
    private String notes;
    @ApiModelProperty(value = "父id")
    private Long parentId;
}